{include file="header"}
<script src="/xcxmb/publpic/static/js/ckeditor/ckeditor.js"></script>
<style>
td { height:32px;}
</style>
<div class="body">
	<div class="nav"><a href="/xcxmb/public/admin/frist">首页</a> > <a href="/xcxmb/public/admin/product/index">商品管理</a> > 修改商品</div>

		<form class="checkform" action="update" method="post" enctype="multipart/form-data">
		<input type="hidden" name="id" id="id" value="{$info.id}" />
		<table class="tap" width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="160" class="gra" align="center">商品名称</td>
				<td><input title="" type="text" name="title" id="title" value="{$info.title}" size="60" class="binput coo-need" />
				</td>
			</tr>
			<tr>
				<td width="160" class="gra" align="center">商品图片</td>
				<td>
				<table><tr><td height="60">
						<input type="hidden" name="image" value="{$info.image}" />
						<input title="" type="text" name="image" value="{$info.image}" />
						<!--<input type="file" name="image" value="{$info.image}" />-->
						<font color="gray"><i>尺寸为640x220像素</i></font>
					</td>
					<td>
					<p><img src="{$info.image}" height="50" /></p>
					</td>
				</tr></table>
				</td>
			</tr>
			<tr>
				<td width="160" class="gra" align="center">商品描述</td>
				<td><textarea rows="10" cols="40"  name="detail" id="detail" >{$info.detail}</textarea>
				</td>
			</tr>
			<tr>
				<td width="160" class="gra" align="center">售价</td>
				<td><input title="" type="text" name="price" id="price" size="15" value="{$info.price}" />
				</td>
			</tr>
			<tr>
				<td width="160" class="gra" align="center">商品净含量、净重</td>
				<td><input title="" type="text" name="parameter" id="parameter" value="{$info.parameter}"   class="binput coo-need" />
				</td>
			</tr>
			<tr>
				<td width="160" class="gra" align="center">服务</td>
				<td><input title="" type="text" name="service" id="service" value="{$info.service}"   class="binput coo-need" />
				</td>
			</tr>
			<tr>
				<td width="160" class="gra" align="center">评分</td>
				<td><input title="" type="text" name="score" id="score" value="{$info.score}"   class="binput coo-need" />
				</td>
			</tr>
			<tr>
				<td width="160" class="gra" align="center">查看量</td>
				<td><input title="" type="text" name="clicks" id="clicks" value="{$info.clicks}"   class="binput coo-need" />
				</td>
			</tr>
			<tr>
				<td width="160" class="gra" align="center">状态</td>
				<td><input title="" type="radio" name="status" value="0" {if $info.status==0}checked{/if} />正常
					<input title="" type="radio" name="status" value="1" {if $info.status==1}checked{/if}/> 下架
				</td>
			</tr>	
					
			<tr class="last">
				<td align="center">&nbsp;</td>
				<td><input type="submit" id="Submit" class="submitbtn" value="提 交" /></td>
			</tr>
		</table>
		</form>
	</div>
</div>

{include file="footer"}